Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-831 | GEN004360 | SV-40493r1_rule | ECLP-1 | Medium |
Description |
---|
If the alias file is not owned by root, an unauthorized user may modify the file to add aliases to run malicious code or redirect email. |
STIG | Date |
---|---|
SOLARIS 10 SPARC SECURITY TECHNICAL IMPLEMENTATION GUIDE | 2016-06-22 |
Check Text ( C-39300r1_chk ) |
---|
Find the alias file on the system. Procedure: # egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases. Check the ownership of the alias file. Procedure: # ls -lL If the alias file is not owned by root, this is a finding. |
Fix Text (F-34503r1_fix) |
---|
Change the owner of the /etc/mail/aliases file (or equivalent, such as /usr/lib/aliases) to root. Procedure: # chown root /etc/mail/aliases |